persisting filter settings into DB