Don't set selected cell to null before changing state.
Merge pull request #166 from ctimmerm/tableview-lose-keyresponder

Don't set selected cell to null before changing state.