Have a working configuration.

There are some issues, such as can't switch through the layouts. Think
it has something to do with the layouts are relational. But I am unsure
of that.