Use notifications instead of polling in the Windows sample app