Fixed saving after deleting items