Updated: improved performance on iPhone by storing reference to allMenuItems