Update the text based on the current card state.