if (canchoose == 1 && choiced == 0) { choiced = 1; global.choice = mychoice; alarm[0] = 2; }