Added P5 Control to switch patterns