added remembering of the position in playlist