i think we can use find here instead of iterating over the array twice , 
[MDN doc for find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find)
Seek type field became empty with refreshing the page

**Describe the bug**
Seek type field became empty with refreshing the Topic/Messages

**Set up**
https://www.kafka-ui.provectus.io/


**Steps to Reproduce**

Steps to reproduce the behavior:

1. Navigate to Topic/Messages tab
2. Make sure Seek Type value is "Offset" by default
3. Refresh the page

**Expected behavior**
The default "Offset" value should stay for Seek Type

**Screenshots**

https://user-images.githubusercontent.com/104780608/199174719-8ddb7f18-3526-4335-b70c-63c2739d92a5.mov




**Additional context**
<!--
(Add any other context about the problem here)
-->

kafka-ui-react-app/src/components/Topics/Topic/Messages/Filters/Filters.tsx
kafka-ui-react-app/src/components/Topics/Topic/Messages/Filters/Filters.tsx
diff --git a/kafka-ui-react-app/src/components/Topics/Topic/Messages/Filters/Filters.tsx b/kafka-ui-react-app/src/components/Topics/Topic/Messages/Filters/Filters.tsx
index c010ca65cb5..1b99650f715 100644
--- a/kafka-ui-react-app/src/components/Topics/Topic/Messages/Filters/Filters.tsx
+++ b/kafka-ui-react-app/src/components/Topics/Topic/Messages/Filters/Filters.tsx
@@ -109,7 +109,11 @@ const Filters: React.FC<FiltersProps> = ({
   );
 
   const [currentSeekType, setCurrentSeekType] = React.useState<SeekType>(
-    (searchParams.get('seekType') as SeekType) || SeekType.OFFSET
+    SeekTypeOptions.find(
+      (ele) => ele.value === (searchParams.get('seekType') as SeekType)
+    ) !== undefined
+      ? (searchParams.get('seekType') as SeekType)
+      : SeekType.OFFSET
   );
   const [offset, setOffset] = React.useState<string>(
     getOffsetFromSeekToParam(searchParams)
