Hi.
Just by looking at the code you posted, I would say that your template "NotebookIndex" does not introduce something new. So you could just replace your template with "ZO_DefaultTextButton" and you are done.
Lua Code:
local button = ZO_ObjectPool_CreateControl("ZO_DefaultTextButton", indexPool, notebook.toc.scrollChild)
Or did I miss something?