JFritz.setProperty("option.checkNewVersionAfterStart", String .valueOf(callMonitorCombo.getSelectedIndex()));
JFritz .setProperty( "option.checkNewVersionAfterStart", Boolean.toString(checkNewVersionAfterStart.isSelected()));
	public void storeValues() {				//only write the save dir to disk if the user changed something		if(!save_location.getText().equals(JFritz.SAVE_DIR)){			JFritz.SAVE_DIR = save_location.getText();			jfritz.writeSaveDir();		}				//		 Remove leading "0" from areaCode		if (areaCode.getText().startsWith(areaPrefix.getText()))			areaCode.setText(areaCode.getText().substring(					areaPrefix.getText().length()));		JFritz.setProperty("option.useSSDP", Boolean.toString(searchWithSSDP //$NON-NLS-1$				.isSelected()));		JFritz.setProperty("option.notifyOnCalls", Boolean //$NON-NLS-1$				.toString(notifyOnCallsButton.isSelected()));		JFritz.setProperty("option.fetchAfterStart", Boolean //$NON-NLS-1$				.toString(fetchAfterStartButton.isSelected()));		JFritz.setProperty("option.timerAfterStart", Boolean //$NON-NLS-1$				.toString(timerAfterStartButton.isSelected()));		JFritz.setProperty("option.deleteAfterFetch", Boolean //$NON-NLS-1$				.toString(deleteAfterFetchButton.isSelected()));		JFritz.setProperty("option.confirmOnExit", Boolean //$NON-NLS-1$				.toString(confirmOnExitButton.isSelected()));		JFritz.setProperty("option.startMinimized", Boolean //$NON-NLS-1$				.toString(startMinimizedButton.isSelected()));		JFritz.setProperty("option.minimize", Boolean //$NON-NLS-1$				.toString(minimizeInsteadOfClose.isSelected()));		JFritz				.setProperty(						"option.createBackup", Boolean.toString(createBackup.isSelected())); //$NON-NLS-1$        JFritz				.setProperty(						"option.createBackupAfterFetch", Boolean.toString(createBackupAfterFetch.isSelected())); //$NON-NLS-1$		JFritz.setProperty("option.playSounds", Boolean.toString(soundButton //$NON-NLS-1$				.isSelected()));		JFritz.setProperty("option.startExternProgram", Boolean //$NON-NLS-1$				.toString(externProgramCheckBox.isSelected()));		JFritz				.setProperty(						"option.externProgram", JFritzUtils.convertSpecialChars(externProgramTextField //$NON-NLS-1$										.getText()));		JFritz.setProperty("option.startcallmonitor", Boolean //$NON-NLS-1$				.toString(startCallMonitorButton.isSelected()));		JFritz.setProperty("option.autostartcallmonitor", Boolean //$NON-NLS-1$				.toString(callMonitorAfterStartButton.isSelected()));		JFritz.setProperty("option.callMonitorType", String //$NON-NLS-1$				.valueOf(callMonitorCombo.getSelectedIndex()));        JFritz        .setProperty(                "option.activateDialPrefix", Boolean.toString(activateDialPrefix.isSelected())); //$NON-NLS-1$		JFritz.setProperty("option.checkNewVersionAfterStart", String //$NON-NLS-1$				.valueOf(callMonitorCombo.getSelectedIndex()));        		// Set Popup Messages Type		if (popupNoButton.isSelected()) {			JFritz.setProperty("option.popuptype", "0"); //$NON-NLS-1$, //$NON-NLS-2$		} else if (popupDialogButton.isSelected()) {			JFritz.setProperty("option.popuptype", "1"); //$NON-NLS-1$, //$NON-NLS-2$		} else {			JFritz.setProperty("option.popuptype", "2"); //$NON-NLS-1$, //$NON-NLS-2$		}		if (!passwordAfterStartButton.isSelected()) {			JFritz.setProperty("jfritz.password", Encryption //$NON-NLS-1$					.encrypt(JFritz.PROGRAM_SECRET + password));		} else {			JFritz.removeProperty("jfritz.password"); //$NON-NLS-1$		}		JFritz.setProperty("option.lookupAfterFetch", Boolean //$NON-NLS-1$				.toString(lookupAfterFetchButton.isSelected()));		JFritz.setProperty("option.showCallByCallColumn", Boolean //$NON-NLS-1$				.toString(showCallByCallColumnButton.isSelected()));		JFritz.setProperty("option.showCommentColumn", Boolean //$NON-NLS-1$				.toString(showCommentColumnButton.isSelected()));		JFritz.setProperty("option.showPortColumn", Boolean //$NON-NLS-1$				.toString(showPortColumnButton.isSelected()));		JFritz.setProperty("option.watchdog.fetchAfterStandby", Boolean //$NON-NLS-1$				.toString(fetchAfterStandby.isSelected()));		JFritz.setProperty("box.password", Encryption.encrypt(password)); //$NON-NLS-1$		JFritz.setProperty("box.address", address.getText()); //$NON-NLS-1$		JFritz.setProperty("box.port", port.getText()); //$NON-NLS-1$		JFritz.setProperty("area.code", areaCode.getText()); //$NON-NLS-1$				//Phone stuff here		//make sure country code has a plus on it		if(!countryCode.getText().startsWith("+"))			countryCode.setText("+"+countryCode.getText());				JFritz.setProperty("country.code", countryCode.getText()); //$NON-NLS-1$		JFritz.setProperty("area.prefix", areaPrefix.getText()); //$NON-NLS-1$        JFritz.setProperty("dial.prefix", dialPrefix.getText()); //$NON-NLS-1$		JFritz.setProperty("country.prefix", countryPrefix.getText()); //$NON-NLS-1$		if (timerSlider.getValue() < 3)			timerSlider.setValue(3);		JFritz.setProperty("fetch.timer", Integer.toString(timerSlider //$NON-NLS-1$				.getValue()));		jfritz.getFritzBox().detectFirmware();		if (!JFritz.getProperty("locale", "de_DE").equals(localeList[languageCombo.getSelectedIndex()])) { //$NON-NLS-1$ //$NON-NLS-2$			JFritz.setProperty(					"locale", localeList[languageCombo.getSelectedIndex()]); //$NON-NLS-1$			loc = localeList[languageCombo.getSelectedIndex()];			jfritz.getJframe().setLanguage(						new Locale(loc.substring(0, loc.indexOf("_")), loc.substring(loc.indexOf("_")+1, loc.length())));		}		JFritz.setProperty("option.popupDelay", popupDelay.getText());						Debug.msg("Saved config"); //$NON-NLS-1$		jfritz.getSIPProviderTableModel()				.saveToXMLFile(JFritz.SAVE_DIR + JFritz.SIPPROVIDER_FILE);		jfritz.getCallerlist().saveToXMLFile(JFritz.SAVE_DIR+JFritz.CALLS_FILE, true);		jfritz.getPhonebook().saveToXMLFile(JFritz.SAVE_DIR+JFritz.PHONEBOOK_FILE);	}