- fixed exception on LocationPicker introduced in the last change. Still need to fix an issue where it doesn't remember it's mode when it is used as a dynamically added control