EventsListActivity: fixed a bug where the application would crash if
user clicked for the first time the Events button on MainActivity
without having a network connection. The onStop method attempted to call
isShowing on the ProgressDialog although it was never created. As a
consequence the application would return a NullPointer exception and
crash.