add access token ok button callback function