code: static void setAgreeShowDialog(Context context, boolean isAgree) {
          SharedPreferences.Editor editor = getPreferencesEditor(context);
          editor.putBoolean(PREF_KEY_IS_AGREE_SHOW_DIALOG, isAgree);
          editor.apply();
      }
docs: Set agree flag about show dialog.<br/>
  If it is false, rate dialog will never shown unless data is cleared.
  
  @param context context
  @param isAgree agree with showing rate dialog