application: Just set initial state in activate() if the window has
not been instantiated.