private void selectItem(int position) {
    // update selected item and title, then close the drawer
    mDrawerList.setItemChecked(position, true);
    // set selected class
    mSelectedItem = Constants.DrawerItems.ARRAY[position];

    // setTitle(mDrawerTitles[position]);
    // If drawer isn't locked just close the drawer and
    // it will move to the selected item by itself (via drawer toggle listener)
    if (!mIsDrawerLocked) {
      mDrawerLayout.closeDrawer(mDrawerList);
      // else move to the selected item yourself
    } else {
      callIntentForDrawerItem(mSelectedItem);
    }
  }