stop ticker when gadget ends