make cuff control example react to new on_type_changed signal