Improve the speed of showing the main menu by pulling the whole array once.