refreshes also the curve_display_widget when clicking on refresh