Fix SharedPreferences