How to switch between two views and all the item changed when click on switch view

I am working on a product and I need your help to show the switching option.

Motive : User will easily know when click on this button view will change. I am also attaching the screen shot.

When click on whatsapp it will change to sms. I want to show in Best possible for this UX.

UX