Checked if the listener is null.
Do not try to register for push if Google Play services is not available.
Should refresh settings when constructed.
Updated build tool.
Close the activity if fails to load and user refuses to retry.
Make sure the progress dialog is shown before dismissing.