added OnClickListener to MainActivity.java