Updated method that gets the selected media source - now works better in manager