Fixes #228

There was an issue with the order of events and it clashed with offline hiding / showing.
Merge pull request #234 from SpiderOak/isue-228-hive-events

Fixes #228