Fix toolbar button activation