Offline mode: Added check for network availability on pull-to-refresh.