Working with functionality for displaying dayevents