Revert "Update MainActivity.java"

This reverts commit e5b5071f5dd5eb13240e57224e1285ab558eabc4.