when a new datasource is saved default values for stock and extended attributes will be saved. Display of boolean attributes in setting page no longer look like buttons. Fixed default diplay of primary links div