Formatted the GUI code using PyCharm autoformat