replaced color picker
fixed empty gallery bug