setBackgroundColor for listView item not working on JellyBean

view story

http://stackoverflow.com – I have a listView with a custom adapter. I've made the listView item's background change color when selected. This works perfectly on Ice Cream Sandwich 4.0.4 on Samsung Galaxy S2 and on ICS 4.0.3 on emulator. But it does not work on 4.2.2 JellyBean emulator. On JB, when an item is selected it's background stays as it was before. This is a portion of my code where I have the logic for setting background color when item is selected: private int mItemIndex = -1; @Override public View getView(int position, View convertView, ViewGroup parent) { View v = convertView; (HowTos)