Made isOnline method static so that it applies to that instance of the
MainActivity  Also Disabled WebView options for debugging and trying out
some caching options for when there is no network available.