Improvements to the copy button