Update MainActivity.java

Use the correct way "View.VISIBLE" and not "1"