Update MainController.java

Minor edits