Updated Some backend code and UI

Changed UI text fields to be more square, added the code to get the
events for a building when the overlay is clicked previsouly it was
getting all the events