typo: Sate should be State.  However, I would name this something like callWhenUIBecomesVisible(), and change finalCardStateCallback to be uiBecameVisibleCallback.