Removed if else statement in getEventsFromDb()

Didn't need it anymore because of hide() and extend(). Also added some
comments