Update MainActivity.java

Temp bug fix. Thx to blog readers!