Functioning edit and delete buttons!