@Override
  public void actionPerformed(@NotNull AnActionEvent e) {
    boolean state = !isSelected(e);
    setSelected(e, state);
    Presentation presentation = e.getPresentation();
    Toggleable.setSelected(presentation, state);
  }
@Override
  public void actionPerformed(@NotNull AnActionEvent e)