How to 'createTimer' and 'Timer.cancel' when item change state?

Just for good measure if other people sees this thread.