Update view when moving/resizing a task.

When moving or resizing a task, the view is not updated with model changes while moving the mouse.

This fix add a timeout call to synchronize view and model when it changes.