// Activate the initial theme by only adding the class name. Not calling
// activateTheme here as it will also cause a full layout and updates to
// the overlay container which has not yet been created at this point
activeTheme = applicationConnection.getConfiguration().getThemeName();
root.addStyleName(activeTheme);
root.add(getWidget());
// Set default tab index before focus call. State change handler
// will update this later if needed.