a calculator demo with custom button