mediaplayer: fix UI handover between A2DP/AVRCP to local media