activating filter buttons