added passing of data back from detail page using delegate