Fix "menu_select_callback"

Fixed an undeclared variable error in "menu_select_callback".