@Override
  public boolean isSelected(@NotNull AnActionEvent e) {
    return getSettings(e).getSyncSetting() == DvcsSyncSettings.Value.SYNC;
  }
@Override
  public boolean isSelected(@NotNull AnActionEvent e)