added support for taking a picture and saving it to the photo library