@Override
  public void setSelected(@NotNull AnActionEvent e, boolean state) {
    Project project = e.getProject();
    if (project == null) return;

    PropertiesComponent.getInstance(project).setValue(getRuleName(), state, isEnabledByDefault());
    project.getMessageBus().syncPublisher(ServiceEventListener.TOPIC).handle(
      ServiceEventListener.ServiceEvent.createResetEvent(RunDashboardServiceViewContributor.class));
  }
@Override
  public void setSelected(@NotNull AnActionEvent e, boolean state)