Add keypress filter using time from press to release