solves bugs with selection and refresh in the list_curve_widget