Added onEnter and onExit to menu.py GUI