Time limit (minutes) is marked at mandatory
If "0" is entered a lesson can be saved even though this makes no sense.
Suggest:
Make availability of "Time limit (minutes)" dependant on "Yes" for "Timed" setting.
Apply logic to field so that only values greater than 0 may be accepted.