Refactoring : Now activity tasks and notifications are triggered by ICP
custom events.