Added tab specific button functionality