Catching "onClick" events on tabs inside accordion

My current scenario is : I have a left side menu implemented using accordion. On central part on the application I have a tabsheet with four tabs. When clicking on one of the tabs inside the accordion the content on the tabs inside the “main tabsheet” changes. I’d like to implement a refresh feature whenever I click a already selected tab. The selected tab change event isn’t fired when clicking an already selected tab, so I’ve tried to wrap the accordion inside a vertical layout and then catch all the click events inside the layout. The problem is that the selected tab change event occurs after the layout click and then I don’t know which is the clicked tab.

Any suggestions or hints regarding this problem ?

My opinion is that the accordion component should have a more broad event - “onClick”, catching all the clicks on tabs wether they are already selected or not…