Update MainActivity.java

changes from site...