Refresh model after scanning, fix model crash (missing qobject parent)