working version, but when the coup destroyed the activity and play is stopped