@Override
      public void commit() {
        super.commit();
        for (Map.Entry<ModifiableRootModel, Module> moduleEntry : moduleMap.entrySet()) {
          modules.add(moduleEntry.getValue());
        }
      }
@Override
      public void commit()