onEmptyStore method moved.