remove global variable camera in CapturePictureTask