Fix the timing to update the value

Fix to update the value each time the Text in TextBox has changed