I want to switch off slide show when my phone is charging