added on:selectTab event