DeviceToken got lost and error callback not called

Fix for [AGPUSH-515](https://issues.jboss.org/browse/AGPUSH-515) no longer displays a toast message, but calls callback and because the deviceToken set by register got lost unregister was broken.