@Override
    public void setSelected(@NotNull AnActionEvent e, boolean state) {
      super.setSelected(e, state);
      myManager.setEditorMode(null);
    }
@Override
    public void setSelected(@NotNull AnActionEvent e, boolean state)