Trying onClick with switch/case instead of multiple click listeners.
Needed to put the update into each case and add a break statement.