Recovery keys fix

Refactoring code parts, initial support for teXet TM-7026 keys.