implemented the function to show or hide the color picker depending on the theme developer setting