Use the friends image as a checkbox for the "Send as" feature.
Restore the chat type after changing the device orientation.