add delay for key button popup