Only show base color

Hello,everyone.When I click on the red area
I want to hide the window below
Keep the select color widget
select color
I have read this article
[Segment Editor: reduce the number of mouse clicks to set basic colour for segment - #3 by lassoan]
I change in Application settings → Application startup script → add ctk.ctkColorDialog().setDefaultTab(0)` to the end of the displayed startup script file.
But it didn’t work.I hope you can help me. Thank you!

This feature is only available in recent Slicer Preview Releases.