link global store to store in ViewModel