Add key handling to BooleanCell; fix bug in tab for text editing