Implemented Exit Application Button