added toolbar events