update MainActivity.java format