make toolbar working