If the WiFi is off, the app simply crashes. It would be more useful to intercept the exception and show a quick pop-up window.