Made input field clear text after Enter is pressed