small code improvement
renamed edit_widget to chord_edit