Added messages for empty lesson or lesson list