delete tasks when deleting device let tasks have a unique name add field in task that denotes to which device it belongs