Revert "Update MainActivity.java"

This reverts commit c51f927aef706bcc9f5f448d1d6fb55cbc3120b6.