Revert getAppWindows change