Fix the problem that the screen of the application does not rotation automatically.