Merge "Refactoring activity method to update recents values."