Save state on config change and add a landscape layout