```js
if (flashModes !== 'off') {
  settings.flashModesPicture.select('off');
}
```