Toolbar: Stop using deprecated event in fixed persistent demo

Fixes gh-7085