Added a wait for the camera saving.