set registration ID onRegistered