implemented color picker and dropdown select functionality