Made homescreen orientation/mode depend on settings