disable toolbar for gui