Configure the tab bar and improve the level of reuse