function copy_option changed