Adds flags to filter
Saves flag and sends to client side