Implemented toggling the shape properties.