CASE statement Afterwards applied, although the order of the code is different (fade-out/fade-in onClick button event)

Good luck & happy coding.