listen to ACTION_SHUTDOWN