toggle from 'Hide' to 'Show' in tray when hiding window with close-event

This is a simple bug fix, otherwise the text in the tray still remains 'Hide'