Revert "Update MainActivity.java"

This reverts commit a3ed1a72075cbe9dfef481d454ca455ab111d293.