Added attendEvent() to support adding events to local storage when the Attend button is clicked