Modified AddSuccessfulMessage and DeleteSuccessfulMessage to use TaskId, we might need it for formatting.