wm: NativeTabBar: refactor