Use the proper API to select a newly added palette color, so all internal states are updated and the entry becomes editable. (cherry picked from commit 2a7a53b3)