Fix to configure widget only when p.a.widgets is available