add copy and refresh button