Update MainActivity.java

James can edit this.