Update MainActivity.java

Added comments