Added the ability to prevent screen from sleeping using the menu.