fixed bug: changing agenda for different dates