changing buttons to toolbar menu