Added data to lessons to show which grading sections they belong to.
Added filter to check if lesson is assigned or optional before giving a checkmark.