redesigned panel's buttons layout