@Override
  public void setSelected(@NotNull AnActionEvent e, boolean state) {
    Project project = e.getProject();
    if (project != null && !project.isDisposed()) {
      InstancesTracker.getInstance(project).setBackgroundTackingEnabled(state);
    }
  }
@Override
  public void setSelected(@NotNull AnActionEvent e, boolean state)