Made PERMClient local to Detail page to allow simutanous search.
TODO: need to sync the UI update.