Added the main screen button and event handler for a button click.