updated button panel and option panel