Added the ability to select photos from the photo library.