Create an AutoCompleteTextInput and refactor the place-finder and autocompletiondialog.