initTitleBar returned
Fixed state changes.