Working on dynamic toolbar