Refactor DispatcherTimer sample to be MVVM compliant