fixed time bug where could not edit lesson that did not have a time by adding prepopulate_time helper method