New version of keypad (to work with voice recognition)

changed library files for keypad and also change getkeystate from
private fcn to public fcn.

added new code, needs to check variable check_key to see if there is
need to activate voice recognition.