private void doAddServiceContent(@NotNull RunnerAndConfigurationSettings settings, @NotNull Content content) {
    List<RunDashboardServiceImpl> settingsServices = getServices(settings);
    if (settingsServices == null) {
      settingsServices = new SmartList<>(new RunDashboardServiceImpl(settings, content));
      myServices.add(settingsServices);
      return;
    }

    RunDashboardServiceImpl newService = new RunDashboardServiceImpl(settings, content);
    RunDashboardServiceImpl service = settingsServices.get(0);
    if (service.getContent() == null) {
      settingsServices.remove(0);
      settingsServices.add(0, newService);
    }
    else {
      settingsServices.add(newService);
    }
  }
private void doAddServiceContent(@NotNull RunnerAndConfigurationSettings settings, @NotNull Content content)