Make mKeyAdapter private and add getKeyAdapter method