https://stackoverflow.com/questions/5661886/switch-statement-to-set-active-menu-item