Added a rerender action to save click event