Fix syntax
Add auto shifting for preferred apps