I am currently using katalon recorder to do the automation
for one website however, I realize, everytime the page is refreshed, the id and
target changes and I will be I unable to run. How may I change it?

Thank you for using our product. In this case, you can write your own CSS/XPath locators. You can use Chrome Developer Tool (F12) to look for unchanged attributes. You can also locate an element based on its siblings or nearby elements.