[Slider] Fixed issue with saving state