Adds selected class to menu items