Please do not change this code for a perfect fonctionality of your counter
widget