Fixes to support back, home, and menu keys