Fixed bug with no selected time.