       return
 
     $rootScope.changeTrack = (index) ->
+      volume = $localStorage.volume
       track = $rootScope.playlist[index]
       $rootScope.trackIndex = index
       $localStorage.trackIndex = index

      playlist: []
      trackIndex: -1
      favs: []

    $rootScope.trackIndex = -1
    $rootScope.playlist = $localStorage.playlist

        $rootScope.nextTrack()
    )

    $rootScope.$watch('p.volume', (a,b) ->
      $localStorage.volume = a
      return
    )

    return
