added listener to toolbar items