added blocks for UIImagePickerController