@Override
  public boolean isSelected(@NotNull AnActionEvent e) {
    Project project = e.getProject();
    return project != null && !project.isDisposed() && InstancesTracker.getInstance(project).isBackgroundTrackingEnabled();
  }
@Override
  public boolean isSelected(@NotNull AnActionEvent e)