code: boolean clear(String key) {
          SharedPreferences.Editor editor = sharedPreferences.edit();
          editor.remove(key);
          return editor.commit();
      }
docs: Clear entry.
  
  @param key Key for internal preference entry.
  @return Returns true if the new values were successfully written