Minor bug fix (window'll stay unvisible with a specific configuration)

The main window, will never be visible, when the user unchecked 'Show system try' and checked 'Start in tray'.