setting up color picker for preferences