@Override
  public void update(@NotNull AnActionEvent e) {
    super.update(e);
    getTemplatePresentation().setText(mySettings.compareMode.getPresentableName());
    e.getPresentation().setText(mySettings.compareMode.getPresentableName());
    e.getPresentation().setEnabledAndVisible(mySettings.showCompareModes);
  }
@Override
  public void update(@NotNull AnActionEvent e)