Fixing save bug on slider inputs