Add buttons and functions for demo.