@Override
      public void setSelected(AnActionEvent e, boolean state) {
        final Sdk sdk = getSelectedSdk();
        if (sdk == null || !(myPackageManagementService instanceof PythonPackageManagementServiceBridge bridge)) return;
        if (bridge.isConda()) {
          bridge.setUseConda(state);
        }
        updatePackages(myPackageManagementService);
      }
@Override
      public void setSelected(AnActionEvent e, boolean state)