After you select a skill upgrade for your duplicant you aren't able to select a hat in the same window. You have to close the employment tab and open it again to select a hat.
Steps to Reproduce
Select a skill then select the hat
This issue has not been confirmed by a developer yet.