fixed bug: if minimize=FALSE then toolbar icon also is hidden