Made the copy to clipboard feature a little nicer and more secure