Edit and delete functions fixed (Item)