Launch a sequence when device is switched off