Fixed a bug in SIM change handling.
Merge pull request #12 from mdandrea/master

Fixed a bug in SIM change handling.