private void exportICalCalendar(ActionEvent e) {
		JFileChooser saveFileChooser = new JFileChooser();
		saveFileChooser.setFileFilter(new FileNameExtensionFilter(m_appSettings.getLocalizedMessage("icalfile"), "ical", "ics", "ifb"));
		saveFileChooser.setFileHidingEnabled(true);
		saveFileChooser.setFileSelectionMode(JFileChooser.FILES_ONLY);
		saveFileChooser.setApproveButtonText("Save");

		SelectCalendarDialog selectCalendar = new SelectCalendarDialog(m_model);
		Calendar toExport = selectCalendar.getCalendar();
		if (toExport == null) {
			WebOptionPane.showMessageDialog(this, m_appSettings.getLocalizedMessage("save.nocal"), m_appSettings.getLocalizedMessage("error"), WebOptionPane.ERROR_MESSAGE);
			return;
		}
		saveFileChooser.setSelectedFile(new File(toExport.getName()));

		if (saveFileChooser.showSaveDialog(null) == JFileChooser.APPROVE_OPTION) {
			File fileToBeSaved = saveFileChooser.getSelectedFile();
			String abspath = saveFileChooser.getSelectedFile().getAbsolutePath();
			if (!abspath.endsWith(".ics") && !abspath.endsWith(".ifb") && !abspath.endsWith(".ical")) {
				fileToBeSaved = new File(saveFileChooser.getSelectedFile() + ".ics");
			}
			((TaskPlannerIOController) defaultController(getModel())).exportCalendar(fileToBeSaved, toExport);
		}
	}