Refactor playlist view