The Edit button is used for both, Cancelling an absence, or Editing the details of the existing request. Best practice is, edit the details if you need to use a different leave or update the duration. Only cancel if you are sure you will not need the request.
Click the Edit button.