Sorting out xml files and layout issues with colour picker