this.setState not updating immediately, when basing setState on current state

Can someone help me with this?