use keymodel to determine if the key is tempoary
Merge pull request #11 from l1ll1/master

use keymodel to determine if the key is tempoary