Add post registration tasks

 - Check if the device is already registered
 - Stop the service if network is not available
 - Persist the device info on successful registration
 - Show notification icon and make the service foreground