Fix adding to timetable with multiple windows open