Implemented the switched selection of a figure