Main window template and style changed