Improve detail view controller