1. Tweaked the multi-button routine with respect to purging and menu exit routine