Fix keyup event to function
Fix dblclick to function