Added progress bar, timetable now generates after every single click of generate