[DF-4984] Fix closing keyboard after battle finish