added select photo and take photo
passed image to compose view