Add an onClickListener implementation method.