implemented needed changes for the newly modified color picker