Added emptyView and loadingView when browsing preferences