Toolbar: updated example code so it matches the example