Update MainActivity.java

delete some code