on.key_release = function(key, scancode)
if Mode == 'teach' then
teach_key_release(key, scancode)
else
learn_key_release(key, scancode)
end