detect headphones and pause/unpause is now working.