Persist changes on viewmodel changed and current item changed