Made error message disappear on keypress