Fix NPE crash when rotating device in Power Wizard