@Override
  protected void onCreate(Bundle bundle) {
    super.onCreate(bundle);

    UIUtils.setCustomActionBar(
        this, R.drawable.ak_icon_blurblogs, getResources().getString(R.string.all_shared_stories));

    itemListFragment =
        (AllSharedStoriesItemListFragment)
            fragmentManager.findFragmentByTag(AllSharedStoriesItemListFragment.class.getName());
    if (itemListFragment == null) {
      itemListFragment = AllSharedStoriesItemListFragment.newInstance();
      itemListFragment.setRetainInstance(true);
      FragmentTransaction listTransaction = fragmentManager.beginTransaction();
      listTransaction.add(
          R.id.activity_itemlist_container,
          itemListFragment,
          AllSharedStoriesItemListFragment.class.getName());
      listTransaction.commit();
    }
  }
  @Override
  protected void onCreate(Bundle bundle) {
    super.onCreate(bundle);

    setTitle(getResources().getString(R.string.all_shared_stories));

    feedIds = new ArrayList<String>();

    Cursor cursor =
        getContentResolver().query(FeedProvider.SOCIAL_FEEDS_URI, null, null, null, null);
    while (cursor.moveToNext()) {
      feedIds.add(cursor.getString(cursor.getColumnIndex(DatabaseConstants.SOCIAL_FEED_ID)));
    }

    itemListFragment =
        (AllSharedStoriesItemListFragment)
            fragmentManager.findFragmentByTag(AllSharedStoriesItemListFragment.class.getName());
    if (itemListFragment == null) {
      itemListFragment =
          AllSharedStoriesItemListFragment.newInstance(currentState, getStoryOrder());
      itemListFragment.setRetainInstance(true);
      FragmentTransaction listTransaction = fragmentManager.beginTransaction();
      listTransaction.add(
          R.id.activity_itemlist_container,
          itemListFragment,
          AllSharedStoriesItemListFragment.class.getName());
      listTransaction.commit();
    }

    syncFragment = (SyncUpdateFragment) fragmentManager.findFragmentByTag(SyncUpdateFragment.TAG);
    if (syncFragment == null) {
      syncFragment = new SyncUpdateFragment();
      fragmentManager.beginTransaction().add(syncFragment, SyncUpdateFragment.TAG).commit();
      triggerRefresh(1);
    }
    cursor.close();
  }