fix timer not restarting

defvar was not calling a second time (switch to setq)
and use more acceptable global variable names