changed from toast message to use the error callback

Partial fix for [AGPUSH-515](https://issues.jboss.org/browse/AGPUSH-515) no longer displays a toast message, but unregister is broken in the android library