async def METHOD_NAME(self, interaction: discord.Interaction, button: discord.Button):
    await interaction.response.defer()
    index = self.records.index(self.record)
    if index == 0:
        self.record = self.records[-1]
    else:
        self.record = self.records[index - 1]
    await self.refresh_view()