When second instance is started main instance window is opened