Fixes issue #18 - App crashes if no network