you should remove `completedSetupTask()` from this function, and add a new function to handle the `setupCancelButton`, that would call `hideSetupDialog` and `completedSetupTask`. Because you need to call `hideSetupDialog` from `handleSetupConfirmation` too :)