added Preferences.applyDynamic