Update MainActivity.java

Meant to make this change in this branch. compatibility with original pixel matching.