Fix bug: switch button icon doesn't show on the navigation bar.