Added a random key press duration