Save the filter when pressing enter.