Value dosen't change

Well it doesn’t look wrong, so I’m thinking it must be the 2 second delay and by then it has changed state again.