Changes keydown to keyup