Fixed the toggle for the bottom nav bar