Adding in exit App functionality