keyboard controls: previous next and Done