Fix NoSuchMethodError with android.content.SharedPreferences$Editor.apply