Forced screen to stay on, added screen warning, and prevented closing by
back button