Fixed issue where menus weren't updating correctly when profiles were added or deleted.