Add button type and compile button