Fix model refreshing in QML examples.

Change-Id: I01d27c85a3d8a1c9e567372a32da66daef017a46
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>