Where does the code try to show the new value of the variable? After its value is changed, the GUI needs to be updated with the new value.