PushChannel_ShellToastNotificationReceived
is always called by the OS when a push notification is received while your app is running so it will execute on a non-UI thread.
Any UI related code that needs to be executed must be wrapped inside Dispatcher.BeginInvoke(Action a)
otherwise you'll get an UnauthorizedAccessException
exception.