Atomic functions in CompareListAdapter and fixed bug in CompareChooseFragment