implement lesson editing, lesson autosaving