[DEV-2152] Add a check for existing Activity objects to prevent spamming notifications.