Fixed bug in Label.setLabel method