fixed the bug of DetailsActivity.java