Code refactoring for immediate Azure Notification Hub registration and
immediate initialization after initial user registration.