Further preparations for SharedPreferences