When a cell has focus, it unintendedly changes a variable in graph

I am working on an activity where I am editing some templates from Eli Luberoff to create a four-operation spinner, a “coin” flip for positive/negative, and a number picker for students to then use in creating equivalent equations. I have the spinner, coin flip, and number picker working as intended, except that when the coin flip lands on “POSITIVE”, it changes to negative when any cell in the table has focus. This does not occur when the coin flip lands on “NEGATIVE”. I am sure there is a mistake somewhere in my CL as I am editing and making changes for my use case from someone else’s work.

The table is currently incomplete since I am trying to resolve this issue.