private void resetView(@Nullable Runnable updateSettings) {
    ApplicationManager.getApplication().executeOnPooledThread(() -> {
      if (updateSettings != null) {
        updateSettings.run();
      }
      myTreeStructure.reset();
      myModel.reset(true);
    });
  }
private void resetView(@Nullable Runnable updateSettings)