the reason is that you're calling the item.setOnMenuItemClickListener(new OnMenuItemClickListener() {...
in the onOptionsItemSelected()
method.
This means it will be set the first time you click the menuItem
(and then reset on every click) and the code inside it will only run once you've clicked it at least once.
either call this in onCreateOptionsMenu()
or simply move the code from onMenuItemClick()
to the switch/case