keydir saving in kivi