Add preference to keep the device awake