added exit button to working project