GUI: textfield is made focused when open GUI