Fixing unwanted delay after cliking authorize button in smoke