Initially disable the selected pattern view since none is selected.
Organizing code.