Refactor action mode handling in ThingListFragment