Store the registration ID correctly.
Saves looking it up each time.