@Override
  public void setSelected(@NotNull AnActionEvent e, boolean state) {
    Project project = e.getProject();
    if (project == null) return;
    VcsConfiguration.getInstance(project).LOCAL_CHANGES_DETAILS_PREVIEW_SHOWN = state;

    ChangesViewManager changesViewManager = getChangesViewManager(project);
    if (changesViewManager == null) return;
    changesViewManager.diffPreviewChanged(state);
  }
@Override
  public void setSelected(@NotNull AnActionEvent e, boolean state)