added the feature where the user will be able to either take a picture
or choose a picture from the gallery.