Fix major bugs with menuCtrl and app_test