Update MainActivity.java

Now the code doesn't look like trash