Set tiemr to change event.
Using update event instead of change to work ok after scrolling the code.