Refactoring ScheduleFragmentActivity and GCMRegistration class
ScheduleFragmentActivity.java udpate