Update MainActivity.java

add from github.