Refactoring method when adding new recent