Finished deleteItem function.
Finished the editItem function.