save registration id, versioncode, expiration time
process in background registration and display it