add function on click report button