implemented display of current and next lesson on clock page
fixed some bugs