I think these three lines above should be removed.  I believe they tell Qt that the "Planning" tab (index 1) should be selected by default on startup.  The default should probably stay 0 ("Context" tab) unless you have a good reason to change this.

Typically this happens because the Qt designer GUI editor saves your current tabbed-state to the file as the default, even if you just wanted to select the tab in order to change something inside that tab.