changed MainActivity.java