complete and reactivate task