Added keyUp handling