Added code to the Windows Phone version of the app.