public void addToHistory(@NotNull ConfigurableUsageTarget usageTarget) {
    ReadAction.nonBlocking(() -> usageTarget.getLongDescriptiveName())
      .expireWith(myProject)
      .finishOnUiThread(ModalityState.nonModal(), descriptiveName -> myHistory.add(usageTarget, descriptiveName))
      .submit(AppExecutorUtil.getAppExecutorService());
  }
public void addToHistory(@NotNull ConfigurableUsageTarget usageTarget)