Fixing autofocus to use cookie indicator