When installing Lubuntu with LXQT, the keyboard layout can not be changed


I tried to change the keyboard and mouse settings, but they are not saved. I press Apply and then open it again. The option to change the keyboard layout is not selected.

Maybe there's a terminal command to toggle keyboard layouts so I can create a global shortcut for it?