set appearance for NavBar and TabBar