Debug and optimisation of displaying and deleting card on the JPanel in
HeroTab