I understand what you mean.

Then maybe the call to "ifRilDisabled" should be in the start of showSimCardError. Which kind of makes sense. What do you think ?