Update SharedPreferences.java