Fixed bug with showing buttons on the toolbar