Cancelling login still opens the device that is selected