add click handler on stop button