Variable changing by itself

Where is this code?