make some minor change on mainactivity.java.