Added support for onActivated for viewModels that gets called everytime a viewModel gets activated in the view, basically right after it is applied to a node