Base filter buttons. Some novice code to handle this.