Added menu selection functionality