Revert "Update MainActivity.java"

This reverts commit 796b2e27b1925f3e2cfbb5a64c1d36cf3bdabb87.