Added view context id sync when it is changed