add signals, try to capture the key press event