@Override
    public boolean isSelected(@NotNull AnActionEvent e) {
      return Objects.equals(mySelectedContextName, getTemplatePresentation().getText());
    }
@Override
    public boolean isSelected(@NotNull AnActionEvent e)