added refocus on input after keypress event.