Update MainWindow.java

fix battery-percentage monitor bug