Segmented controls and buttons on the same page

We have some design problems in our big web project, so I decided to start my journey on Stack Exchange. I want your help now, but also want to help someone else as well! :)

We have a UI Kit (which we want to transform into a working design system). There we have buttons and segmented controls. They have the same appearance and here is a problem. If we have segmented controls and buttons on the same page it's a bit confusing.

Example

So, I have a question. Is it a good usage of segmented controls or you can suggest a better solution?