The “toggle layout” don’t work with consecutive clicks, it doesn’t make the change properly.
Every time I need to change the layout of the card I need to click, move the mouse away from the toggle layout button and click again.
If you don’t do that and click 2x in a row in the button (for example), the layout doesn’t change.