Use certificate pinning on Staging Server

Only scheduleRefresh when GCM registered
Only unregister from GCM when GCM registered