Added dynamic functionality to sliders and enabled refresh button