refactorred but not bug free one side filter jammed when choice button is triggered