Send heartbeats to server

 - Store Device ID instead of Device Name in Shared Pref
 - Send heartbeat if Device ID is present in Shared Pref
 - Make heartbeat interval configurable in code