implement basic play list editing and pattern switching