 
     @initialize: ->
       @id = API.getRoom().id
-      Storage.load 'room', idToUse(User.lastPlayedIn)
+      Storage.load 'room', @id
+      # Storage.load 'room', idToUse(User.lastPlayedIn)
 
     @load: (response) -> # Response is a Room data array.
       if !response? # Non-existing room...


'use strict'

VERSION = "2.1.5"
HTML_VERSION = "2.1.5"
DATE_OF_BIRTH = new Date(2014, 1, 24)

class Plugmixer

      return User.lastPlayedIn

    @save: ->
      Storage.save 'room', @id, getStatus()
      # Storage.save 'room', idToUse('default'), getStatus()

      # Temporary workaround - favorites now includes all rooms visited regardless starred or not.
      if User.favorites.indexOf(@id) < 0
        User.favorites.unshift @id
        User.save()

    @toggleActive: ->
      @active = if @active == 1 then 0 else 1
