Network connectivity check

Both activities check for network access before continuing.