only show button colors if colors exist

Prevents color dropdown being shown if no colors exist in the array
Merge pull request #1046 from sumobi/master

Only show button colour dropdown if colors exist in array