Add specific function to handle messaging only for the tab and made the according changes.