Added main navigation flow within the window, not tested yet