public void checkOnChange(RunnerAndConfigurationSettings settings) {
    if (settings.isShared()) {
      return;
    }

    Collection<RunnerAndConfigurationSettings> sharedConfigurations = getSharedConfigurations();
    if (sharedConfigurations.remove(settings)) {
      List<RunnerAndConfigurationSettings> localConfigurations = new ArrayList<>(getLocalConfigurations());
      localConfigurations.add(settings);
      setStartupConfigurations(sharedConfigurations, localConfigurations);

      getNotificationGroup().createNotification(ExecutionBundle.message("0.configuration.was.made.not.shared", PREFIX, settings.getName()),
                                            MessageType.WARNING).notify(myProject);
    }
  }
public void checkOnChange(RunnerAndConfigurationSettings settings)