private void restoreAndAddAnimation(Label label) { if (currentSelectedLabel != null && currentSelectedLabel != label) { ButtonAnimation.restore(currentSelectedLabel); } ButtonAnimation.addAnimation(label); }