Initialize attributes in __init__.

Nedded, so the widget does not display error, when opened with no data.