added undo and delete item to historic