Move DetailActivity menu code to DetailFragment