Fixed multiple timers issue (varible declared multiple times)