Editted MainActivity.java