optimized the DetailsActivity and fixed the bug of vote