Don't have Telegram yet? Try it now!
https://matovsky.com/saving-selection-uisegmentedcontrol.html
Saving the selection of UISegmentedControl (Swift 4.x-5.0)