Update SwitchLayout.java