added missing constructor for buttons