adding 'network is down' UI and notification, use rtc alarm to send heartbeat in case the phone has been brought to deep sleep