solve SharedPreferencesAssignment