Debug.msg("Saved config");
    public void storeValues() {        // 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                .isSelected()));        JFritz.setProperty("option.notifyOnCalls", Boolean                .toString(notifyOnCallsButton.isSelected()));        JFritz.setProperty("option.fetchAfterStart", Boolean                .toString(fetchAfterStartButton.isSelected()));        JFritz.setProperty("option.timerAfterStart", Boolean                .toString(timerAfterStartButton.isSelected()));        JFritz.setProperty("option.deleteAfterFetch", Boolean                .toString(deleteAfterFetchButton.isSelected()));        JFritz.setProperty("option.confirmOnExit", Boolean                .toString(confirmOnExitButton.isSelected()));        JFritz.setProperty("option.startMinimized", Boolean                .toString(startMinimizedButton.isSelected()));        JFritz.setProperty("option.playSounds", Boolean.toString(soundButton                .isSelected()));        JFritz.setProperty("option.startExternProgram", Boolean                .toString(externProgramCheckBox.isSelected()));        JFritz.setProperty("option.externProgram", externProgramTextField                .getText());        JFritz.setProperty("option.startcallmonitor", Boolean                .toString(startCallMonitorButton.isSelected()));        JFritz.setProperty("option.autostartcallmonitor", Boolean                .toString(callMonitorAfterStartButton.isSelected()));        JFritz.setProperty("option.callMonitorType", String                .valueOf(callMonitorCombo.getSelectedIndex()));        // Set Popup Messages Type        if (popupNoButton.isSelected()) {            JFritz.setProperty("option.popuptype", "0");        } else if (popupDialogButton.isSelected()) {            JFritz.setProperty("option.popuptype", "1");        } else {            JFritz.setProperty("option.popuptype", "2");        }        if (!passwordAfterStartButton.isSelected()) {            JFritz.setProperty("jfritz.password", Encryption                    .encrypt(JFritz.PROGRAM_SECRET + password));        } else {            JFritz.removeProperty("jfritz.password");        }        JFritz.setProperty("option.lookupAfterFetch", Boolean                .toString(lookupAfterFetchButton.isSelected()));        JFritz.setProperty("option.showCallByCallColumn", Boolean                .toString(showCallByCallColumnButton.isSelected()));        JFritz.setProperty("option.showCommentColumn", Boolean                .toString(showCommentColumnButton.isSelected()));        JFritz.setProperty("option.showPortColumn", Boolean                .toString(showPortColumnButton.isSelected()));        JFritz.setProperty("box.password", Encryption.encrypt(password));        JFritz.setProperty("box.address", address.getText());        JFritz.setProperty("area.code", areaCode.getText());        JFritz.setProperty("country.code", countryCode.getText());        JFritz.setProperty("area.prefix", areaPrefix.getText());        JFritz.setProperty("country.prefix", countryPrefix.getText());        if (timerSlider.getValue() < 3)            timerSlider.setValue(3);        JFritz.setProperty("fetch.timer", Integer.toString(timerSlider                .getValue()));        if (firmware != null) {            JFritz.setProperty("box.firmware", firmware.getFirmwareVersion());        } else {            JFritz.removeProperty("box.firmware");        }        jfritz.getSIPProviderTableModel()                .saveToXMLFile(JFritz.SIPPROVIDER_FILE);    }