Add the OK button used to exit the application
Make sure the point does not move before the search starts