Don't let the slider value affect another control when switching
Setting a new lower/upper values could trigger on_control_slider_changed when current_control has already been set to a new value, causing the newly selected control to be set to bogus values.
Fixes #76 (closed) and #74 (closed)
Edited by Sebastian Krzyszkowiak