Fixed crash when clicking "Categories" nav bar button.