Don't free actions owned by the system tray menu

Thanks to mannol for reporting the issue