it seems like The issue is with checkInternetConnection which is called only once, so the app doesn't react to connectivity changes.