DetailActivity bug fix