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

Fixed a bug in SIM change handling.