Fixed NPE related to set Label.setText