fixed _get_latest_app in case Excel has been closed