dock-apps-builder:: make a check before creating system tray