delete customOnSelectedItem and place it into class, spinner implementation improvements