Added option to select photos from gallery.