"setName = AnyNumberHere" is your error. This is an assignment. What you wanted to do instead is a comparison like in "else if (setName == 2) {/*Whatever*/}". Please note the double "=".

"setName = 2;" is an expression that evaluates to 2 and therefore is always true.


Always learn from history, to be sure you make the same mistakes again...