Fix issue #1360

Fixing the issue by observing the attribute and act on change rather then calling the model function directly.