protected function saveNewItemGroup()
 {
     $form = $this->initNewItemGroupForm();
     if ($form->checkInput()) {
         $titles = array();
         foreach ($this->lng->getInstalledLanguages() as $lang_id) {
             $titles[$lang_id] = $form->getInput("title_" . $lang_id);
         }
         include_once "Services/Repository/classes/class.ilObjRepositorySettings.php";
         if (ilObjRepositorySettings::addNewItemGroup($titles)) {
             ilUtil::sendSuccess($this->lng->txt("settings_saved"), true);
             $this->ctrl->redirect($this, "listNewItemGroups");
         }
     }
     $form->setValuesByPost();
     $this->addNewItemGroup($form);
 }