private void doRemoveServiceContent(@NotNull RunDashboardServiceImpl service) {
    RunnerAndConfigurationSettings contentSettings = service.getSettings();
    List<RunDashboardServiceImpl> services = getServices(contentSettings);
    if (services == null) return;

    if (!isShowInDashboard(contentSettings.getConfiguration()) ||
        !RunManager.getInstance(myProject).getAllSettings().contains(contentSettings)) {
      myServices.remove(services);
      return;
    }

    services.remove(service);
    if (services.isEmpty()) {
      services.add(new RunDashboardServiceImpl(contentSettings, null));
    }
  }
private void doRemoveServiceContent(@NotNull RunDashboardServiceImpl service)