Made toolbar checkable