Fixed method that applies view settings. Also made the clearing of the current selection optional.