include the tf.focus and blur() inside win.focus() event