Implemented OnclickListener in the MainActivity class