@Chris-Kawa Thank you, this solves the problem. As to alternative way to exit, I already have exit action on tray's menu. Have a nice day.