Fix for ico and tray application start