public void actionPerformed(ActionEvent e){
CalendarOption option = project.getCalendarOption();
if (option == null)
option = CalendarOption.getInstance();
CalendarDialogBox dialog = CalendarDialogBox.getInstance((Frame) ChangeWorkingTimeDialogBox.this.getOwner(),option);
if (dialog.doModal()) {
option = CalendarOption.getNewInstance();
dialog.getForm().copyToOption(option);
CalendarOption.setInstance(option);
project.setCalendarOption(option);
}