changed notifaction noise code to play in a thread instead of blocking