code: @Override
      public void setRefreshOn(boolean enabled) {
          boolean changed = enabled != refreshEnabled;
          refreshEnabled = enabled;
          if (changed) {
              updateRefreshTimer();
          }
      }
docs: REFRESH TIMER