refactor SettingsPreferenceFragment