added existing and overdue events button, changed the data structures