Improved event handling for recurring tasks