add event to key (Up, Down)