added function to store the current playlist