[WebProfilerBundle] made toolbar listener instantiation conditional