Added fields.
On click handler for buttonGetRedId.
getRedId() method to get the registration ID from the GCM server.
Clean up.
Comments.
Moved some stuff from my other push notification project here to make the app better.
Made PROJECT_NUMBER final and static.