sample application runs with single button.