fixed bug where photos didn"t show in detail view
DataManager: made sure managed objects passed to delegate are always in main context