add api version selector to UI.