@Override
  public void addActivity(final @NotNull Project project, final @NotNull UiActivity activity) {
    addActivity(project, activity, ModalityState.nonModal());
  }
@Override
  public void addActivity(final @NotNull Project project, final @NotNull UiActivity activity)