App now checks for a data connection

If the device is not connected to Wi-Fi or mobile data, it will show a
dialog to inform the user that there is no connection. The incident
fragments will not try to update, which would cause a lock up or crash.