@Override
  public void actionPerformed(@NotNull AnActionEvent e) {
    final Project project = getEventProject(e);
    assert project != null;
    ProgressManager.getInstance()
      .runProcessWithProgressSynchronously(() -> collectAndShowDuplicates(project), "Gathering Images", true, project);
  }
@Override
  public void actionPerformed(@NotNull AnActionEvent e)