patch for onitemselectedlistener