Fixed errors with admin schedules and periods, most work was focused on implementing a cleaner approach to setting and retrieving timepicker.
Merge remote-tracking branch 'origin/master'