When creating the notebook, take account of 'selected' trait to set the ...

...default tab to be opened