Move toolbar updateState code into separate method

So that it can be called on intialize without a contextChange.

Change-Id: I2a3fa78b07dadd31963ff716339da5f7b75ff157
Always fix up selection after ce.Surface#focus

Otherwise we get a broken selection in surface widgets. The bug which
this.focusing was introduced to fix has been fixed elsewhere.

Bug: 64399
Change-Id: Ie996812ccd6166f6cc348985271d720c9c484fa5