fix bug with not playing sound after shaking device