Adding top and lower bars for buttons