Fixed a bug causing it to always turn on in programming mode
(THIS is exactly why I usually put the constants first in an if statement)