@Override
  protected void applyRootProfile(@NotNull String name, boolean isProjectLevel) {
    if (isProjectLevel) {
      myProjectProfileManager.setRootProfile(name);
    }
    else {
      myApplicationProfileManager.setRootProfile(name);
      myProjectProfileManager.useApplicationProfile(name);
    }
  }
@Override
  protected void applyRootProfile(@NotNull String name, boolean isProjectLevel)