Fixed crash when clickin cancel button
Merge pull request #98 from Grimi94/fixBugOnCancel

Fixed crash when clickin cancel button