The icon does not belong to the service.
So if there's an icon there, the prorgam is running as a service and as a exe.
When you chose exit, you just closed the exe.
To access the global properties when it's running as a service, I guess you'll need to make a memory form.