fixing issues with AAD Auth preference Activity