@Override
 public void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   getActivity().setTitle(R.string.foods_title);
   mFoods = FoodLab.get(getActivity()).getFoods();
   FoodAdapter adapter = new FoodAdapter(mFoods);
   setListAdapter(adapter);
 }
 @Override
 public void onPause() {
   super.onPause();
   FoodLab.get(getActivity()).saveFoods();
 }