Added click event handler.