Audio stop method reorganised. isPlaying set to false before onStop event is dispatched to prevent sound playing issues.