Switching back to photoWithPreview and setting interval to 5 minutes
CamPreview class for trying to disable preview