# Active preset row is not restored on Electra restart

**URL:** <https://forum.electra.one/t/active-preset-row-is-not-restored-on-electra-restart/3000>\
**Category:** Bug reports\
**Created:** [June 8, 2024, 1:37pm UTC](https://forum.electra.one/t/active-preset-row-is-not-restored-on-electra-restart/3000 "2024-06-08T13:37:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![christianvogel](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@christianvogel](https://forum.electra.one/u/christianvogel)\
**Post date:** [June 8, 2024, 1:37pm UTC](https://forum.electra.one/t/active-preset-row-is-not-restored-on-electra-restart/3000/1 "2024-06-08T13:37:44Z")

</div>

In a preset I have this code:

```auto
function preset.onLoad(info)
    pages.setActiveControlSet(3)
end

```

After loading this preset, the third active row is correctly set. However after restarting the Electra, this row is no longer active.

I would expect one of two behaviors:

1. The Electra treats a reboot as reloading presets. In that case, the onload code above should be loaded.
2. The Electra does not treat a reboot as a reload, but tries to fully restore existing preset state. In that case the active row should also be restored.
