calendarGUI: change code style