@Override
  protected void onReset() {
    super.onReset();

    // ensure the loader is stopped
    onStopLoading();
    if (cachedResults != null) {
      cachedResults.clear();
      cachedResults = null;
    }

    // stop watching for changes
    dao.unregisterObserver(this);
  }