protected void savePreferences() throws Exception {
		pref.setLanguage(getISOLanguageCode());
		pref.setLookAndFeel(pref.getLookAndFeelClassName(lookAndFeelComboBox
				.getSelectedItem().toString()));
		if (chckbxDetailedSol.isSelected())
			pref.setSolutionType(SolutionType.DETAILLED_SOLUTION);
		else
			pref.setSolutionType(SolutionType.MINIMIZED_FUNCTION);
		pref.savePreferences();
	}