void UpdateScheduledTasks() { var collection = Database.GetCollection <SmartEarthTask>(Core.SCHEDULED_TASK_DATABASE_DOCUMENT); var tasks = collection.FindAll(); if (tasks == null) { return; } ScheduledTasks.Clear(); ScheduledTasks.AddRange(tasks); RaisePropertyChanged("ScheduledTasks"); }