onclick activity added for the tabs