Fixed bug - error caused by copy button when there is no field with the class 'selected_field'