Fixed a timing bug in  HookService

The time of any previous action was not correctly reset before a new
macro was set so each new macro recorded after the first on ended always
included a long pause.