Refactored PhoneWindowManager