added changes to rangeselector buttons