MOB-297 Removed check for non network connection with navigator.connection object and added network connection check with an offline event instead.