if (option == JFileChooser.APPROVE_OPTION) {
model.getAppSettingsCopy().getSavingModel().setSaveFolder(chooser.getSelectedFile().toString());
}
} else if(e.getActionCommand().equals(COM_TEMPFORMATEDIT)) {
model.setNameType(SettingsDialogModel.TYPE_TEMP);
EditFileFormat edit = new EditFileFormat(model);
edit.registerController(this);
edit.setVisible(true);
} else if(e.getActionCommand().equals(COM_SAVEFORMATEDIT)) {
model.setNameType(SettingsDialogModel.TYPE_SAVE);
EditFileFormat edit = new EditFileFormat(model);
edit.registerController(this);
edit.setVisible(true);
} else if(e.getActionCommand().equals(COM_OK)) {
model.getAppSettings().copy(model.getAppSettingsCopy());
Model.getSettingsSaver().save();
model.setVisible(false);
} else if(e.getActionCommand().equals(COM_CANCEL)) {