editPerson Function

Completed function to edit person, using key passed through several
functions, to ensure that local storage for edited item was
overwritten, not rewritten.