add function to set icon into system tray frame