Issue #163 - Checking internet connection and changing focus