Added fixes for using location picker in UIPopoverController