Refactor ContestAdapter