Almost done except that list of apps when viewing permissions details shows all apps instead of all applicable ones