Fix tray icon after close

#445
#289