Refactor copied ListFragment into its own package