added keypress for confirmation of crop