Switching the string compares in the initialization of the keyreader to check for 0 instead of not 0