Added GCM registered check to RegisterActivity to enable switch to MainActivity directly.