replace SharedPreferences.commit() with SharedPreferences.apply()
Explicitly set Locale.US