Adding buttons and panels