change tab to 2 spaces in MainActivity.java
modify coding style for my readability