Use Window Activated and Deactivated event to control a media file