Implemented photo uploading options (library or camera)