Updated the ui and py files of InitWindow