fixed a bug throwing ArrayIndexOutOfBoundsException at MusicPlaylistAdapter