code: public static void setDoNotShowAgain(Context context, boolean doNotShowAgain) {
          SharedPreferences prefs = getSharedPreferences(context);
          SharedPreferences.Editor prefsEditor = prefs.edit();
  
          prefsEditor.putBoolean(PREF_KEY_DO_NOT_SHOW_AGAIN, doNotShowAgain);
  
          prefsEditor.commit();
      }
docs: Modify internal value.
  <p/>
  If you use this method, you might need to have a good understanding of this class code.
  
  @param context        Context
  @param doNotShowAgain Clicked "No, Thanks" if true.