Added the ability to take pictures and set them as the displayed image