Added textbox support for timetable in main