I have four tabs with four edit button in all the tabs. if i click on the edit button it should redirect to the first tab .now the redirect is working fine but the inside functi