add function to set mifare key from internal eeprom