Fixed bug in toolbar.java