fixed onScreenOff null check for wakelock