Improve the valueChanged event.