Set the onClick method on the layout xml