set visibility
removed setVisibility function
filter hide work and state update from primary filter