Revert "Fix issue 52986: Wifi settings abnormal when screen rotation"

This reverts commit cf97bea10a92126a2fdada62e1b43e6f2efb3681.