Update MainActivity.java

I want these changes in this file
Merge pull request #1 from devayanidahake/patch-1

Update MainActivity.java