persistence: fix updating the persistance states and writing the file to disk at the right moment.
persistence: count NO_ADAPTER as blocked devices when saving persistence
More debugging for persistence
killswitch: refresh states before returning it.
Revert "persistence: count NO_ADAPTER as blocked devices when saving persistence"

This reverts commit b005f37566d3a823e3da43aed0251a25fbe565fc.