Checking use-current-location will hide the search input

Binded 'change' event to updateFromLayout()