Added click event handlers.