changed label css condition test
moved $window.navigator.onLine to deviceInfoFactory
minor refactoring to dix inconsistent online status indicator
uses === equality test to avoid  profile not found msg flickering on state change.
Merge pull request #385 from jofomah/bug/inconsistent-online-status-indicator

Bug/inconsistent online status indicator