[bugfix] Fixes segmentation fault

This commit partially reverts the previous commit.
Now instead of clearing data from the models using
clean(), it just clear the list of data, without
calling beginRemoveRows and endRemoveRows.
Merge pull request #43 from SfietKonstantin/bugfix

[bugfix] Fixes segmentation fault