Resetting input field if the input is just zero