fixing bugs in recyclerview and retaining selected color with drawing state