adding option functionality on filter creator