Implement 'Switch languages' button handler