minor code changes in DetailsActivity.java