Loads events from the server correctly now. Shows a toast when receivs event while the user is on the app. Fixed other bugs too.