I have had similar situation when on Android app - requested substitution of a player who has yellow card, but before sub is actioned, player concerned gets second yellow card and then sent off. Obviously, sub could not be made, but when I tried to change player formation on pitch and try to make another substitution, the app wouldn't let me - the little 'There are unsaved changes' message appears...