add: save keys state for when a battle is finished