changed LayoutDirection config to radio buttons