Check network availability before register

 - Give ACCESS_NETWORK_STATE permission