Improve code readability in AddProductWindow.