Updating Target Action Method of Player remote control events (MPRemoteCommand)

I have created application with two different audio players (Radio and MP3). Using MPRemoteCommandCenter for both players for managing players from lock screen. Here is the code snippet:

MP3 Player

let commandCenter = MPRemoteCommandCenter.shared()  
commandCenter.nextTrackCommand.isEnabled = true
commandCenter.nextTrackCommand.addTarget(self, action: #selector(next))
commandCenter.previousTrackCommand.isEnabled = true
commandCenter.previousTrackCommand.addTarget(self, action: #selector(previous))
commandCenter.playCommand.isEnabled = true
commandCenter.playCommand.addTarget(self, action: #selector(playPause)
commandCenter.pauseCommand.isEnabled = true
commandCenter.pauseCommand.addTarget(self, action: #selector(playPause))

Radio Player

let commandCenter = MPRemoteCommandCenter.shared()
commandCenter.playCommand.isEnabled = true
commandCenter.playCommand.removeTarget(self, action:nil)
commandCenter.playCommand.addTarget(self, action: #selector(radioPlayFromLock))
commandCenter.pauseCommand.isEnabled = true
commandCenter.pauseCommand.removeTarget(self, action:nil)
commandCenter.pauseCommand.addTarget(self, action: #selector(radioJPStop))
commandCenter.nextTrackCommand.isEnabled = false
commandCenter.previousTrackCommand.isEnabled = false

Both are working correctly individually but once follow these steps:

  1. Play MP3 player
  2. after that play Radio
  3. and trying to stop from lock screen
  4. List item

is crashing due to looking for MP3 player method. That mean target method is not updated for play/pause command. Any help will be appreciated.