[IMP]Contract:add the feature to reactivate the closed contacts.