MDL-38664 Lesson mod: fixed re-attempt unseen page
MDL-38664 Lesson mod: code improvement for lesson re-attempt page