Added ability to select image from gallery