MOB-297 Added check for undefined as the navigator connection object is undefined when phone is in flight mode.
Merge pull request #213 from pmampe/MOB-297

MOB-297 Added check for undefined as the navigator connection object is ...