addCategoryLoadingStateListener

Adds CategoryLoadingStateListener to know exactly when search started, failed or succeeded with some results.