Change to save preferences with "preferences/PreferencesManager".