
It was because of the y2= y statement, which moved the selection menu down in a really small amount of time.
I totally thinked wrong and even doubted on the variables, but it was just another small mistake.

Yes, that was the solution.You need 2 equals signs in if statements and 1 in defining variables