Erase note when key pressed