fix prompt textfield focus: need to focus in next tick, so using a delay(1)