Google app script - gmail add-ons

Hello guys, i building a gmail add-on, i want refresh my add-on when click logout button. The add-on connection to non-Google services using an Oauth2 service. That’s document of Oauth2 suggest function reset() to logout but it only logout without refresh add-on. Anyone can suggest me problem?