Added inflating DetailFragment logic