Use unicode() method to get the preset name instead str(), otherwise error occurs instead validation messagebox pops up when user input non-ascii name.