Added cancel function
Merge branch 'master' of https://github.com/PhoenixRockit/tgRegistration