Add TrayItem to minimize the app when close the main window.