Added model functionality to be available to use the camera or gallery for a picture