Code example for SharedPreferences.Editor: Saving app preferences

Methods: clear, commit, putString