Fix clearing of input butoon