The old value is returned inside the focus event listener
how to I get the current state/value in my event listener as it is currently returning the old value