TimedEvent: Allow changing event function

Signed-off-by: Chris Evich <chris-cxx@anonomail.me>