Revert "Revert "SystemUI: Fix missing top task in recent panel.""

This reverts commit 80438abd4051da54d8620da048ea752e2721e403.
Revert "fix build errors"

This reverts commit 3b43c40aef5496f9769e513ab27b1108e906f6a9.