reset the pictureSource and destinationType