I would need to do some testing on your template because I don't have much experience with custom toggle buttons in a ribbon.
Perhaps the solution is to create a Class Module and use the WindowActivate event to refresh the ribbon as you change active documents.
See
Writing application event procedures for working with Class Modules.
If you can't find a solution with the ribbon refresh suggestion, the bible for all things Ribbon is a book called
RibbonX: Customizing the Office 2007 Ribbon by Teresa Hennig, Robert Martin, Ken Puls. It is the next place I would look to see what they have to say about toggleButtons.