code: public static String getString(final String key, final String defValue) {
          return getPreferences().getString(key, defValue);
      }
docs: Retrieves a stored String value.
  
  @param key      The name of the preference to retrieve.
  @param defValue Value to return if this preference does not exist.
  @return Returns the preference value if it exists, or defValue.
  @throws ClassCastException if there is a preference with this name that is not a String.
  @see android.content.SharedPreferences#getString(String, String)