filter_state_api function

Managing FilteredData states