     audioPlayer.play()
   }
 
-  func play() {
+  @objc func play() {
     audioPlayer.play()
   }
 
-  func pause() {
+  @objc func pause() {
     updateNowPlayingTime()
     audioPlayer.pause()
   }
 
-  func togglePlayPause() {
+  @objc func togglePlayPause() {
     if audioPlayer.rate > 0 {
       pause()
     } else {

    }
  }

  func nextTrack() {
    guard let urls = urls else { return }
    selected = min(selected + 1, urls.count - 1)
    play(url: urls[selected])
  }

  func previousTrack() {
    guard let urls = urls else { return }
    selected = max(selected - 1, 0)
    play(url: urls[selected])

    mpic.nowPlayingInfo?[MPNowPlayingInfoPropertyElapsedPlaybackTime] = audioPlayer.currentTime().seconds
  }

  @objc func progressBarTapped(recognizer: UITapGestureRecognizer) {
    guard let view = recognizer.view else { return }

    let pt = recognizer.location(in: view)
