Update MainActivity.java

Some more changes will be made.