Replaced all usage of commit() with apply() in UserPrefs, as per http://developer.android.com/reference/android/content/SharedPreferences.Editor.html#apply%28%29