Button logic is not working with 2 button but same logic is working with single button.
Please find Attached sample app and extension, i have used.
You can use " TabsforQliksene" Extension for multiple tabs.
find the attached App i have used the that extension in TabsforQliksnese Sheet
Retrieving data ...