refactored interactive menu