handle changePicture callback properly