fix close when transaction complete. change finish() to backToMain().