Renamed KEY_PREV to KEY_PREVIOUS