Collection changed fix

If an observeable collection is changed from outside the ViewModel, in a
callback from a service. The code will throw an execption, because the
model is updated on the wrong thread. This code will fix the rror.