@Override
      public PopupStep<?> onChosen(final TypeForNewLibrary selectedValue, boolean finalChoice) {
        return doFinalStep(() -> action.run(selectedValue.getType()));
      }
@Override
      public PopupStep<?> onChosen(final TypeForNewLibrary selectedValue, boolean finalChoice)