Delete function functiong except for clearing inner html.
Edit function working except for replacing in local storage