Solving the problem of compilation in CompareChooseFragment class.