Update MainActivity.java

created fields and binded objects