Toolbar squirreling issue

I think the variable used for squirreling is defined in the wrong scope. It was causing errors for me so I moved it.