showing picture recently taken or picking an image from the gallery