Refactored logic in updateMediaControlUI to correctly update the controls when no receiver is available