Added toggle sleep setting