Widget detail

Widget displays event from json; will need to refactor and sort to display only next upcoming event
Could you check line 51? It needs to read:
if(events != null)
not sure why that seems to be removed and else added.