Added extras into intents. Added key strings to access the data
in MainActivity.