create button and event to handle it.