Check network status
Check network status. TOFIX:handle ui update for offline -> online