Add new API that do install without registrationID and cache registrationID
Fix sample application to use installation without registrationID