Resetting the input value on submit