dynamic option bar implenmented