Resetting course attributes in turnOffLecture