Revert "Update MainActivity.java"

This reverts commit 940afead493556247047e86302ebad7d8773959e.