Added "Turn on the screen" item in the settings. Added additional checks

in the mechanism of switching the screen, just in case.