@Override
    public void contentRemoved(@NotNull ContentManagerEvent event) {
      Content content = event.getContent();
      if (myPreviousSelection == content) {
        myPreviousSelection = null;
      }
      removeServiceContent(content);
    }
@Override
    public void contentRemoved(@NotNull ContentManagerEvent event)