fixed a scrolling bug in MainActivity where checked state would be lost
when an item scrolled out of view.