Porting GCMDemoClient to Android Studio