Update Sharedpreferences.java