Add function and constants for using the system tray