Close application with cross button