added parentactivity to detailsactivity