Detect if card is done or atwork