Palette button now working