Update MainActivity.java

Add Dalvik cache optional to the code