Update MainActivity.java

Modify handler