MainPage viewmodel linked with view