onMenuItemSelected: working on item selected behaviour and adding default case.