Fixed exception caused by GCM after registering sensors at CommonSense