Added timelog calendar clickevents, fixed some bugs