Fixed the cancel alarm bug (i think)

Signed-off-by: nicholaslum444 <nicholaslum444@hotmail.com>