Focus issue fixed

Fixed losing of focus after clicking the reset button.