Fixed minor bugs with DetailFragment.