not saving prefs in fragment