Add button-related source code.