Fixed bug in the Copy ID button