Bug 943897 - Code timeout into contacts_settings.tap_import_from_sim()

I get the number of sim contacts before opening the apps because the method switches to default frame.
Merge pull request #18374 from chirarobert/943897

Bug 943897 - Code timeout into contacts_settings.tap_import_from_sim()