Update MainActivity.java

Part of solving Issue #1