Delete activity function #141