Update MainActivity.java

Made code readable + Added Comments