WP7 Invalid cross-thread access - ScheduledTaskAgent
Use the Dispatcher
to execute the code on the UI thread instead on a background thread:
Deployment.Current.Dispatcher.BeginInvoke(()=> { fontForeground = new SolidColorBrush(Colors.White); ... });