Adding location provider and updating path after an item selection.