qt5: Fix optional content handling with exclusive layers

We were setting the "ui" value correctly, but not the "backend" one
because we were shortcuting on obeyRadioGroups for the off state

Update test to check also for the backend value
3 files changed