Fixed app cannot close after cancel confirmation
Merge pull request #59 from zoonooz/master