Get slider value and use it as refresh interval