Maybe it is a debounce problem. Add a "PAUSE" at the beginning of "loop".
Code:
loop:
PAUSE 250 'Give a little time to get off the button
if Setup = 1 then