fix the error of the apple id logout button being gray