My app uses multiple ResourceDictionary in order to store its settings. When closing the app, the settings are written in XAML
ResourceDictionary
XAML