make stylepicker dependency optional