Fix on click copy listener