@Override
            protected void onChosen(final @NotNull HighlightSeverity severity) {
              final HighlightDisplayLevel level = HighlightDisplayLevel.find(severity);
              final List<InspectionConfigTreeNode.Tool> toUpdate = new SmartList<>();
              for (final InspectionConfigTreeNode.Tool node : nodes) {
                final HighlightDisplayKey key = node.getDefaultDescriptor().getKey();
                final NamedScope scope = node.getDefaultDescriptor().getScope();
                final boolean doUpdate = myProfile.getErrorLevel(key, scope, project) != level
                                         || myProfile.getEditorAttributesKey(key, scope, project) != null;
                if (doUpdate) {
                  myProfile.setErrorLevel(key, level, null, project);
                  myProfile.setEditorAttributesKey(node.getKey().toString(), null, null, project);
                  updateHighlightingChooser(nodes, project, highlightingChooser);
                  toUpdate.add(node);
                }
              }
              updateRecursively(toUpdate, false);
            }
@Override
            protected void onChosen(final @NotNull HighlightSeverity severity)