add systray support at application level