Improved way to tick all namespaces when Select all is ticked

Follow up from Ie62b9186e98dd770de4282ea57d7248158a6e782
Co Author : Helder.Wiki

Change-Id: Iea336d40ac7d1271d4934797f74dabadea0cdafe