Added a callback to set the range entry on change