Added repeat functionality from a named function to an anonymous function and added an empty create new playlist function.