update empty view state

The state of the empty view needs to be updated whenever the dataset is
changed or invalidated
Merge pull request #13 from tibigiurgiu/master

[library] Update empty view state