Add reset to input after valid entry