Save and load styles from postgis db