code: private boolean hasToShowNotice(String versionDownloadable) {
          SharedPreferences prefs = mActivity.getSharedPreferences(PREFS_FILENAME, 0);
          String prefKey = SUCCESSFUL_CHEKS_PREF_KEY + versionDownloadable;
          int mChecksMade = prefs.getInt(prefKey, 0);
          if (mChecksMade % mSuccessfulChecksRequired == 0 || mChecksMade == 0) {
              saveNumberOfChecksForUpdatedVersion(versionDownloadable, mChecksMade);
              return true;
          } else {
              saveNumberOfChecksForUpdatedVersion(versionDownloadable, mChecksMade);
              return false;
          }
      }
docs: Show the Notice only if it's the first time or the number of the checks made is a multiple of the argument of setSuccessfulChecksRequired(int) method. (If you don't call setSuccessfulChecksRequired(int) the default is 5).