refactoring. remove dublicate optionItemSelected method