Clean code, and set screen orientation