dealing with camerapreview onpause issue
 camerapreview issue solved