Add two lines of code to make sure the input box is empty after editing is done