fires after the option (segment) has been added
tabbar.attachEvent("onOptionAdd", function(id, obj){ // code });