Adds an insert-activity function / avoid dupplication