update recent items event handler to ref .recentItem class so it will be dynamic as recent items change.