Refactor to change CardListView into a fragment in an activity